package cn.edu.xjtu.data_structure.experiment.ex4;

public class treeNode{
    private Object val;
    private treeNode father;
    public treeNode(){
        val = null;
        father = null;
    }
    public treeNode(Object v){
        val = v;
        father = null;
    }
    public treeNode(Object v,treeNode f){
        val = v;
        father = f;
    }

    public Object getVal()
    {
        return val;
    }
    public treeNode getFather(){
        return father;
    }
}


